﻿using System;
using System.Text;

namespace KPIS.GERP.GIMS.MODEL
{
    public class M_AssetLocation
    {
        private Int32 LOCATION_SEQ;
        private string ASSET_CODE;
        private Nullable<Int32> FROM_JOB_SITE_SEQ;
        private Nullable<Int32> FROM_WH_SEQ;
        private string FROM_OTHER;
        private Nullable<Int32> TO_JOB_SITE_SEQ;
        private Nullable<Int32> TO_WH_SEQ;
        private string TO_OTHER;
        private DateTime LOCATION_START_DATE;
        private Nullable<DateTime> LOCATION_END_DATE;
        private string REMARK;
        private string RECORD_STATUS;
        private Int32 CREATED_BY;
        private DateTime CREATED_WHEN;
        private Nullable<Int32> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        //Add
        private string FROM_LOCATION_NAME;
        private string TO_LOCATION_NAME;
        private string JOB_SITE_FROM_NAME;
        private string JOB_SITE_TO_NAME;
        private string WH_FROM_NAME;
        private string WH_TO_NAME;

        public Int32 location_seq
        {
            get { return LOCATION_SEQ; }
            set { LOCATION_SEQ = value; }
        }
        public string asset_code
        {
            get { return ASSET_CODE; }
            set { ASSET_CODE = value; }
        }
        public Nullable<Int32> from_job_site_seq
        {
            get { return FROM_JOB_SITE_SEQ; }
            set { FROM_JOB_SITE_SEQ = value; }
        }
        public Nullable<Int32> from_wh_seq
        {
            get { return FROM_WH_SEQ; }
            set { FROM_WH_SEQ = value; }
        }
        public string from_other
        {
            get { return FROM_OTHER; }
            set { FROM_OTHER = value; }
        }
        public Nullable<Int32> to_job_site_seq
        {
            get { return TO_JOB_SITE_SEQ; }
            set { TO_JOB_SITE_SEQ = value; }
        }
        public Nullable<Int32> to_wh_seq
        {
            get { return TO_WH_SEQ; }
            set { TO_WH_SEQ = value; }
        }
        public string to_other
        {
            get { return TO_OTHER; }
            set { TO_OTHER = value; }
        }
        public DateTime location_start_date
        {
            get { return LOCATION_START_DATE; }
            set { LOCATION_START_DATE = value; }
        }
        public Nullable<DateTime> location_end_date
        {
            get { return LOCATION_END_DATE; }
            set { LOCATION_END_DATE = value; }
        }
        public string remark
        {
            get { return REMARK; }
            set { REMARK = value; }
        }
        public string record_status
        {
            get { return RECORD_STATUS; }
            set { RECORD_STATUS = value; }
        }
        public Int32 created_by
        {
            get { return CREATED_BY; }
            set { CREATED_BY = value; }
        }
        public DateTime created_when
        {
            get { return CREATED_WHEN; }
            set { CREATED_WHEN = value; }
        }
        public Nullable<Int32> updated_by
        {
            get { return UPDATED_BY; }
            set { UPDATED_BY = value; }
        }
        public Nullable<DateTime> updated_when
        {
            get { return UPDATED_WHEN; }
            set { UPDATED_WHEN = value; }
        }
        public string from_location_name
        {
            get { return FROM_LOCATION_NAME; }
            set { FROM_LOCATION_NAME = value; }
        }
        public string to_location_name
        {
            get { return TO_LOCATION_NAME; }
            set { TO_LOCATION_NAME = value; }
        }
        public string job_site_from_name
        {
            get { return JOB_SITE_FROM_NAME; }
            set { JOB_SITE_FROM_NAME = value; }
        }
        public string job_site_to_name
        {
            get { return JOB_SITE_TO_NAME; }
            set { JOB_SITE_TO_NAME = value; }
        }
        public string wh_from_name
        {
            get { return WH_FROM_NAME; }
            set { WH_FROM_NAME = value; }
        }
        public string wh_to_name
        {
            get { return WH_TO_NAME; }
            set { WH_TO_NAME = value; }
        }
        
    }
}
